package be.jabapage.snooker.jdo.competition;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import lombok.Data;

@PersistenceCapable(detachable = "true")
@Data
public class TeamCompetitionParticipation {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;

	@Persistent
	private String season;

	@Persistent
	private Long teamId;

	@Persistent
	private Long competitionId;

	@Persistent
	private Long subCompetitionId;
}
